package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.SetmealDTO;
import com.itheima.pojo.Setmeal;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    /**
     * <p>Description: 添加套餐</p>
     *
     * @author liuyiming
     * @date 2022-10-12 12:22
     * @version 1.0.0
     */
    public void addSetmeal(SetmealDTO setmealDto);

    /**
     * <p>Description: 删除套餐，并且还有套餐菜品关系表的数据</p>
     *
     * @author liuyiming
     * @date 2022-10-12 17:40
     * @version 1.0.0
     */
    public void deleteWithDish(List<Long> ids);

    /**
     * <p>Description: 根据套餐ID查询套餐具体信息</p>
     *
     * @author liuyiming
     * @date 2022-10-14 10:29
     * @version 1.0.0
     */
    public SetmealDTO querySetmealInfoById(Long id);

    /**
     * <p>Description: 根据套餐ID修改套餐具体信息</p>
     *
     * @author liuyiming
     * @date 2022-10-14 15:40
     * @version 1.0.0
     */
    public void updateSetmealInfoById(SetmealDTO setmealDTO);

}
